{% extends "list_base.html" %}
{% load bootstrap3 %}
{% block title %} 任务状态 {% endblock %}
{% block table_body %}
    <table class="table small">
        <thead>
        <tr>
            <th>task id</th>
            <th>task name</th>
            <th>plugin name</th>
            <th>status</th>
            <th>retval</th>
        </tr>
        </thead>
        <tbody>
        {% for item in object_list %}
            <tr>
                <td><a href="{% url 'task_result_detail' item.id %}">{{ item.task_id }}</a></td>
                <td>{{ item.task_name }}</td>
                <td>{{ item.plugin_name }}</td>
                <td>{{ item.status }}</td>
                <td>{{ item.retval }}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{% endblock %}
{% block script %}{% endblock %}